package com.example.backend.service;

import com.baomidou.mybatisplus.core.metadata.IPage;
import com.example.backend.entity.ShouCang;

public interface IShouCangService {
    /**
     * 收藏
     */
    boolean addShouCang(ShouCang shouCang);

    /**
     * 取消收藏
     */
    boolean deleteShouCang(Integer scid);

    /**
     * 更新收藏
     */
    boolean updateShouCang(ShouCang shouCang);

    /**
     * 查询收藏
     */
    IPage<ShouCang> selectShouCang(ShouCang shouCang, Integer currentPage, Integer pageSize, String sortField, String sortOrder);

    boolean findSc(Integer yhid, Integer sjid);
}
